@layout("/common/_container.html",{js:["/assets/taoRecommendGoods/taoRecommendGoods_add.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">添加</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="taoRecommendGoodsForm" lay-filter="taoRecommendGoodsForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
                <input name="" type="hidden"/>
                <!--<div class="layui-form-item">
                    <label class="layui-form-label">商品id<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="goodId" name="goodId" placeholder="请输入商品id" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>-->
                <!--<div class="layui-form-item">
                    <label class="layui-form-label">图片<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="pic" name="pic" placeholder="请输入商品图片" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>-->

                <div class="layui-form-item">
                    <label class="layui-form-label">商品照片</label>
                    <div class="layui-input-block">
                        <input id="pictureInputHidden" name="pic" type="hidden" class="layui-input" />
                        <button type="button" class="layui-btn layui-btn-sm" id="picBtn"><i class="layui-icon"></i>选择图片</button>
                        <div class="layui-upload-list">
                            <img class="layui-upload-img" id="img1" width="92px" height="92px">
                        </div>
                    </div>
                </div>

                <!--<div class="layui-form-item">
                    <label class="layui-form-label">分类<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="goodType" name="goodType" placeholder="请输入商品分类" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>-->
                <div class="layui-form-item">
                    <label class="layui-form-label">分类<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="type" name="type"   lay-filter="type">
                        </select>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">商品<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="goodType" name="goodType" xm-select="select1" >
                        </select>
                    </div>
                </div>
                <!--<div class="layui-form-item">
                    <label class="layui-form-label">创建时间<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="createTime" name="createTime" placeholder="请输入创建时间" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>-->
                <!--<div class="layui-form-item">
                    <label class="layui-form-label">1：商品 2：分类<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="status" name="status" placeholder="请输入1：商品 2：分类" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>-->
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}